﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class HaXiTable : MonoBehaviour
{
    [SerializeField]
  public  Hashtable hashtable = new Hashtable();
    // Start is called before the first frame update
    void Start()
    {
        hashtable.Add("1", 100);
        hashtable.Add(1, "200");
        if (hashtable.ContainsKey("1"))
        {

            Debug.Log("Key=str1:" + hashtable["1"]);
        }
        ICollection key = hashtable.Keys;
        foreach (var K in key)
        {
            Debug.Log(hashtable[K]);
        }
    }

    // Update is called once per frame
    void Update()
    {
        
    }
}
